package com.yjt.gcss.gddw.common.bean.domain;

import com.yjt.common.tools.TimeUtil;


/**
 * TxnPlds entity. @author MyEclipse Persistence Tools
 */
public class TxnPlds extends AbstractTxnPlds implements java.io.Serializable {
	/**
	 * 
	 */
	public static final String BEAN_PACKAGE_NAME = "com.yjt.gcss.gddw.common.bean.domain.TxnPlds";
	private static final long serialVersionUID = 1L;
	private String tranTypeDesc;
	private String retCdDesc;

	// Constructors

	/** default constructor */
	public TxnPlds() {
	}

	/** minimal constructor */
	public TxnPlds(String reqMsgId,String fileId, String txnType,
			String orgId, String userNo, String origBank, String origAcc,
			String outAccBank, String payerAcc, String payerName,
			String tranType, String privateFlag, String currency, String amout,
			String status, String createDate, String createTime,
			String entrustDate) {
		super(reqMsgId, fileId, txnType, orgId, userNo, origBank, origAcc,
				outAccBank, payerAcc, payerName, tranType, privateFlag,
				currency, amout, status, createDate, createTime, entrustDate);
	}

	/** full constructor */
	public TxnPlds(String reqMsgId, String fileId, String txnDate,
			String txnType, String orgId, String userNo, String origBank,
			String origAcc, String origId, String outBank, String outAccBank,
			String payerAcc, String payerName, String payerContact,
			String tranType, String privateFlag, String currency, String amout,
			String charge, String remark, String status, String retCd,
			String retCdRemark, String workReturnNo, String synFlag,
			String reserve,String createDate, String createTime, String rspDate,
			String rspTime, String source, String entrustDate) {
		super(reqMsgId, fileId, txnDate, txnType, orgId, userNo, origBank,
				origAcc, origId, outBank, outAccBank, payerAcc, payerName,
				payerContact, tranType, privateFlag, currency, amout, charge,
				remark, status, retCd, retCdRemark, workReturnNo, synFlag,
				reserve, createDate, createTime,
				rspDate, rspTime, entrustDate);
	}
	private String createDateTimeDesc;
	public String getCreateDateTimeDesc() {
		return TimeUtil.changeStrTimeFormat(this.getCreateDate() + this.getCreateTime(), "yyyyMMddHHmmss", "yyyy-MM-dd HH:mm:ss");
	}
}
